package cn.sise.edu.crm.service;

import cn.sise.edu.crm.domain.Permission;
import cn.sise.edu.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by chen on 2019/11/3.
 */
public interface IPermissionService {
    void insert(Permission permission);
    void delete(Long id);
    Permission selectById(Long id);
    List<Permission> selectAll();
    PageInfo<Permission> query(QueryObject queryObject);
    void reload();

    List<String> selectByEmployeeId(Long id);
}
